home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14213 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.4 KB

  1. Path: gaia.ns.utk.edu!utkux4!sad
  2. From: sad@utkux.utcc.utk.edu (Deutscher)
  3. Newsgroups: comp.lang.fortran,comp.lang.c
  4. Subject: Re: Fortran to C
  5. Followup-To: comp.lang.fortran,comp.lang.c
  6. Date: 12 Apr 1996 16:02:22 GMT
  7. Organization: University of Tennessee, Knoxville
  8. Message-ID: <4kluqe$ehh@gaia.ns.utk.edu>
  9. References: <4kjvm6$ghc@saturn.sdsu.edu> <4klmam$daa@mule2.mindspring.com>
  10. NNTP-Posting-Host: utkux4.utcc.utk.edu
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Bev Lightfoot (bev@atl.mindspring.com) wrote:
  14. : stark@saturn.sdsu.edu (Brian D. Stark) wrote:
  15. : >I'm looking for a program that will take fortran 77 code and
  16. : >translate it to ansi c.  I've heard that Watcom can do this.
  17. : >Has anyone used Watcom to do this or any other program and
  18. : >what were your results?
  19. : >
  20. : >Thanks,
  21. : >
  22. : >brian
  23. : >-- 
  24. : >Go Chargers
  25.  
  26.  
  27. : Brian:
  28.  
  29. : Our company offers a FORTRAN to C conversion package, FOR_C, which will 
  30. : perform the type of translations you are seeking.  It supports standard 
  31. : F77, with many VAX, Prime, IBM-VS, HP and Microsoft extensions as well.  
  32. : The translated code is very readable and easy to maintain in C.
  33.  
  34. There is also a free package f2c, which however produces C code mainly
  35. aimed at being compiler in[ut rather than being read and maintained by
  36. human readers. (At least the versions I have used were not, maybe this
  37. has changed?) Anyway, if you want it to compile it may do the trick, if
  38. you want to use the C code and maintain it later, it may very well not
  39. (especially since f2c code requires to be linked with some f2c library).
  40.  
  41. I have used it extensively before g77 became available,
  42. and ist has been ported to many platforms (comping from UNIX, I would think,
  43. it is at least on OS/2 and DOS, I would not be surprised about a boat load
  44. of others, but I don't know for sure.)
  45.  
  46. Kind regards, Stefan
  47.  
  48. : Please contact us for more information, or check our Web Site 
  49. : (http://www.cobalt-blue.com).
  50.  
  51.  
  52.  
  53.  
  54. --
  55. ==========================================================================
  56. Stefan A. Deutscher, sad@utk.edu, (001)-423-[522-7845|974-7838|574-5897]
  57.                                              home^    UTK^     ORNL^
  58. ==========================================================================
  59. If there is software you'd like to have in a native version, visit the:
  60. OS/2 E-mail Campaign Page http://www.andrews.edu/~boyko/email.html
  61. --------------------------------------------------------------------------
  62.